A summary description of controls that can be used to display ept field values.. These are meant to be used in the context of a presentation template.

Background

There are several controls that can be used to display ept field values in a presentation template. These controls will read data from the current context (by calling SiteBase.GetCSDataFields).

EptField

Supports custom string formatting throught the DataFormatString property.

HTML
<csx:EptField RunAt="Server" FieldName="Name" DataFormatString="Hello {0}!" /> 

EptDateTimeField

Derives from EptField. Used to display date and time values. Supports custom formatting that adjust according to the user's current locale.

HTML
<csx:EptDateTimeField RunAt="Server" FieldName="LastLogin" DateTimeFormat="FullDateTime" DataFormatString="Last login was {0}." /> 

EptHyperLink

Supports creating hyperlinks with optional images.

HTML
<csx:EptHyperLink RunAt="Server" NavigateUrl="LinkUrl" Text="LinkDescription" ToolTipText="LinkDescription" />
<csx:EptHyperLink RunAt="Server" NavigateUrl="LinkUrl" Text="LinkDescription" ToolTipText="LinkDescription" ImageUrl="LinkLogo" />